home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,401 to 4,500 / aol-file-protocol-4400-4401-to-4500.zip / AOLDLs / PDA-Newton Development / ND CheckPlease 2.0 source / CheckPlease2.0(src).sit / CheckPlease_Source / Project Data < prev    next >
Text File  |  1995-02-28  |  1KB  |  41 lines

  1.  
  2.  
  3. CONSTANT kPackageName := "CheckPlease";
  4. CONSTANT kAppName := "Check Please!";
  5. CONSTANT kAppSymbol := '|CheckPlease:VtHick|;
  6. constant kVersion := "2.0";
  7.  
  8. constant kMaxAppWidth := 240; // maximum value for right bounds
  9. constant kMinAppWidth := 238; // minimum value for left bound
  10. constant kMaxAppHeight := 400; // maximum value for bottom bounds
  11. constant kMinAppHeight := 312;  // minimum value for bottom bounds
  12.  
  13. DEFCONST('kPrefsForSystemSoup,{tag:kPackageName,tip:20,tax:0});
  14.  
  15. // Install and Remove Scripts
  16.  
  17. // script run when package is installed
  18. // NOTE: you can also do this from
  19. // your viewSetupFormScript
  20. InstallScript := func(partFrame)
  21. begin
  22.     // put application routing frame into the
  23.     // global routing frame
  24.     Routing.(kAppSymbol) := partFrame.theForm.routingFrame;
  25.  
  26.     // nil out InstallScript to free up memory
  27.     InstallScript := devInstallScript := nil;
  28. end;
  29.  
  30. // script run when package is removed from Newt
  31. // you might also remove formats (see below)
  32. RemoveScript := func(partFrame)
  33. begin
  34.     // remove application routing frame from
  35.     // global routing frame
  36.     RemoveSlot(Routing, kAppSymbol);
  37.  
  38.  
  39. end;
  40.  
  41.